import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Cookies from 'js-cookie'
import 'normalize.css/normalize.css' // A modern alternative to CSS resets
//------------------------------------------------------------------------//
import './permission' // permission control/
import Element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(Element, {
  size: Cookies.get('size') || 'medium', // set element-ui default size
})
import './mock' // simulation data
import '@/styles/index.scss' // global css
//------------------------------------------------------------------------//

Vue.config.productionTip = false




new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
